Oral magnesium substitution